const v1 = "/api/v1";
const api = {
  // 用户相关
  login: `${v1}/home/login`,
  register: `${v1}/home/register`,
  modifyPs: `${v1}/home/modifyPs`,

  // 文章相关
  article: `${v1}/article`,
  articleLike: `${v1}/article/like`,
  articleHistory: `${v1}/article/history`,

  // 文章类型
  type: `${v1}/type`,
};

export default api